<?php

/**
 * Platcode event-driven framework
 * @author ReGeDa
 * @version 0.0.1
 * @link http://code.google.com/p/platcode
 * @license New BSD License
 */

ini_set('magic_quotes_gpc', 'off');

define('HTDOCS_PATH', realpath(dirname(__FILE__)).'/');
define('PLATCODE_PATH', HTDOCS_PATH.'system/');

include PLATCODE_PATH.'kernel/Constants.php';
include PLATCODE_PATH.'kernel/Platcode.php';

try {

	// Run Platcode
	new Event_Manager();

} catch (Platcode_Exception $e) {

	$e->show_error();
}

// end of file